<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no" />
<meta name="apple-mobile-web-app-capable" content="yes">
<title>测你会成为哪家公司总裁。</title>
<meta name="keywords" content="测你会成为哪家公司总裁。" />
<meta name="description" content="测你会成为哪家公司总裁。" />
<script type="text/javascript" src="jquery.min.js"></script>
<script type="text/javascript" src="jQueryRotate.2.2.js"></script>
<script type="text/javascript" src="jquery.easing.min.js"></script>
<link rel="stylesheet" href="zp.css" />
<style>
#disk{background:url(wenzhangku.gif) no-repeat }
</style>

<script type="text/javascript">
var info=new Array()
info[0]="京东"
info[1]="百度"
info[2]="新浪"
info[3]="1号店"
info[4]="腾讯"
info[5]="网易"
info[6]="淘宝"
info[7]="搜狐"
info[8]="拉手网"
info[9]="聚美优品"
info[10]="美团"
info[11]="优酷"


function choujiang(){
	if($("#name").val()==""){
		alert("请输入名字");
		$("#name").focus();
		return false;
	}
	
	$.post("do.php", { name: $("#name").val()},function(data){
		var a = data*30+15;
		$("#startbtn").rotate({
			duration:3000,
			angle: 0, 
			animateTo:1440+a,
			easing: $.easing.easeOutSine,
			callback: function(){
							
				var infos="'"+$("#name").val()+"'2020年将成为"+info[data]+"的总裁。";
				$(document).attr('title',infos+"测你会成为哪家公司总裁。");
				var infos="<font color=orange><b>【测试结果】</b></font><br />"+infos;
				$("#tip").html(infos);
				$("#info").css({display:""});
			}
		});
				 
	});
				 
}

function retry(){
	$("#info").css({display:"none"});
}

</script>
</head>

<body>



<div id="main">
	<h1>测你会成为哪家公司总裁。</h1>


   <div class="demo">
        <div id="disk"></div>
        <div id="start"><img src="start.png" id="startbtn" onClick="choujiang()"></div>
   </div>

	<div class="shuru">请输入您的名字：<input value="" id="name"></div>
   
</div>

<div id="info" style="display:none;">
	<div id="tip"></div>
	
	<div class="retry">
	<button onClick="retry()">重新测试</button>
	<button onClick="location.href='http://mp.weixin.qq.com/s?__biz=MzAwNjA3NDMyOA==&mid=247689052&idx=1&sn=0fd6480634bc8b21df5479ab4d05569d#rd'">关注我们</button>
	　<button onclick="location.href='http://app.gzlankong.com/'">更多好玩测试</button>
	</div>

</div>


<div id="footad">
	</div>


<div class="more_test_list" id="more_test">
<dt><h2>↓ 更多好玩测试 ↓</h2></dt>
<dd><a href="http://app.gzlankong.com/ceshi/huihuang/"><li>测测你一生中最辉煌的年龄</li></a><a href="http://app.gzlankong.com/ceshi/nianxin/"><li>测测年薪多少才配得上你？</li></a><a href="http://app.gzlankong.com/ceshi/kaiche/"><li>测你五年内会开什么车</li></a><a href="http://app.gzlankong.com/ceshi/tiansheng/"><li>测测你天生是什么命</li></a><a href="http://app.gzlankong.com/ceshi/qianshi/"><li>测测你前世是什么人</li></a><a href="http://app.gzlankong.com/ceshi/chuanyue/"><li>穿越回古代你会是谁？</li></a><a href="http://app.gzlankong.com/ceshi/ceo/"><li>测你会成为哪家公司总裁。</li></a><a href="http://app.gzlankong.com/ceshi/qianshi/"><li>测测你前世是什么人</li></a></dd>
</div>

<footer style="margin-top:10px; font-size:10px; color:#bbb; text-align:center;">
郑重承诺：本页面为纯静态HTML制作，绝不收集任何用户信息!
</footer>

<textarea id="adhtml" style="display:none">
	
<button onClick="location.href='http://mp.weixin.qq.com/s?__biz=MzAwNjA3NDMyOA==&mid=247689052&idx=1&sn=0fd6480634bc8b21df5479ab4d05569d#rd'">关注我们</button>
<button onClick="location.href='http://app.gzlankong.com/'">智力游戏</button>
	</textarea>


<script>
	infos=$("#adhtml").val();
	$("#footad").append(infos);
	</script>
<div style="display:none">
<script language="javascript" type="text/javascript" src=""></script>
</div>

</body>
</html>